XMLDOMException Exception

This exception may occur during the creation of a DOM document and something goes wrong. For example, it will occur if multiple elements are appended to the top level of a document.

None. Use the Message and ErrorNumber properties of the RuntimeException class.


Constants

Compare the ErrorNumber to these class constants rather than the values to make your code more readable.

Value

Constant

0

OK

1

INDEX_SIZE_ERR

2

DOMSTRING_SIZE_ERR

3

HIERARCHY_REQUEST_ERR

4

WRONG_DOCUMENT_ERR

5

INVALID_CHARACTER_ERR

6

NO_DATA_ALLOWED_ERR

7

NO_MODIFICATION_ALLOWED_ERR

8

NOT_FOUND_ERR

9

NOT_SUPPORTED_ERR

10

INUSE_ATTRIBUTE_ERR

11

INVALID_STATE_ERR

12

SYNTAX_ERR

13

INVALID_MODIFICATION_ERR

14

NAMESPACE_ERR

15

INVALID_ACCESS_ERR

16

INVALID_NODE_TYPE

17

QUERY_PARSE_ERR

18

QUERY_EXECUTION_ERR

19

NOT_OK